package entity

import (
	"shqsoft.cn/pasnj/base"
)

//TIndiClie 用户
type CompWorkflowStep struct {
	WFID  int    `gorm:"column:WFID"`
	STATE int    `gorm:"column:STATE"`
	CLJG  string `gorm:"column:CLJG"`
	STEP  int    `gorm:"column:STEP"`
}

//TableName User用户表名
func (CompWorkflowStep) TableName() string {
	return "V_COMP_DIVI_WORKFLOW_STEP"
}

func CompWorkflowStepEF() base.EntityFunc {
	return func() interface{} {
		entity := CompWorkflowStep{}
		return &entity
	}
}
func CompWorkflowStepESF() base.EntitiesFunc {
	return func() interface{} {
		var entities []CompWorkflowStep
		return &entities
	}
}

func init() {
	base.DaoPoolObj.Put("CompWorkflowStep", base.NewDefaultDao(CompWorkflowStepEF(), CompWorkflowStepESF(), nil))
}
